﻿@model IEnumerable<erpIngesup.Models.COURS>

@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Programme de la journée</h2>


<table>
    <tr>
        <th>
            @Html.DisplayNameFor(model => model.MODULE.LIB_MOD)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.SALLE.LIBSALLE)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.DATE_DBT)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.DATE_FIN)
        </th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.MODULE.LIB_MOD)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.SALLE.LIBSALLE)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.DATE_DBT)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.DATE_FIN)
        </td>
    </tr>
}

</table>
@Html.ActionLink("Consulter", "Consulter")